package com.fate.framework.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class PageDTO {
  @NotNull(message = "pageNum 不能为空")
  @Schema(description = "当前页")
  private Long pageNum;

  @NotNull(message = "pageSize 不能为空")
  @Schema(description = "页面展示条数")
  private Long pageSize;
}
